
Public Class CompraEN


    Private detalleCompra As DetalleCompraEN
    Private fechaCompra As DateTime
    Private idCompra As Integer
    Private monto As Double
    Private usuario As UsuarioEN
    Public m_DetalleCompra As DetalleCompraEN


    Public Property _idCompra() As Integer
        Get
            Return Me.idCompra
        End Get
        Set(ByVal value As Integer)
            Me.idCompra = value
        End Set
    End Property

    Public Property _usuario() As UsuarioEN
        Get
            Return Me.usuario
        End Get
        Set(ByVal value As UsuarioEN)
            Me.usuario = value
        End Set
    End Property

    Public Property _monto() As Double
        Get
            Return Me.monto
        End Get
        Set(ByVal value As Double)
            Me.monto = value
        End Set
    End Property

    Public Property _fechaCompra() As DateTime
        Get
            Return Me.fechaCompra
        End Get
        Set(ByVal value As DateTime)
            Me.fechaCompra = value
        End Set
    End Property


    Public Property _detalleCompra() As DetalleCompraEN
        Get
            Return Me.detalleCompra
        End Get
        Set(ByVal value As DetalleCompraEN)
            Me.detalleCompra = value
        End Set
    End Property

End Class ' CompraEN

